﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WSAP
{
    /// <summary>
    /// 错误及警告信息显示
    /// </summary>
    public partial class AnalyzeInfo : Form
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public AnalyzeInfo(WModelNet model)
        {
            InitializeComponent();
            this.WarningRichTextbox.Text = model.GetWarning();
            this.ErrorRichTextbox.Text = model.GetError();
        }
    }
}
